  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <ul class="am-list admin-sidebar-list">
             <li><a href="index.php?m=admin&c=index&a=index"><span class="am-icon-home"></span> 首页</a></li>
        <!--{foreach ($menu as $key => $val)}-->
            <!--{if (isset($val['childs']))}-->  
              <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav-<!--{$key}-->'}"><span class="am-icon-<!--{$val['men_extend']}-->"></span> <!--{$val['men_name']}--><span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav-<!--{$key}-->">    
                  <!--{foreach ($val['childs'] as $k => $v)}-->  
                      <li><a href="index.php?m=<!--{$v['men_m']}-->&c=<!--{$v['men_c']}-->&a=<!--{$v['men_a']}-->"><span class="am-icon-<!--{$v['men_extend']}-->"></span> <!--{$v['men_name']}--></a></li>
                  <!--{/foreach}-->  
                </ul>
              </li>
            <!--{else}-->  
             <li><a href="index.php?m=<!--{$val['men_m']}-->&c=<!--{$val['men_c']}-->&a=<!--{$val['men_a']}-->"><span class="am-icon-<!--{$val['men_extend']}-->"></span> <!--{$val['men_name']}--></a></li>
            <!--{/if}-->
        <!--{/foreach}-->
             <li><a href="index.php?m=admin&c=index&a=logout"><span class="am-icon-sign-out"></span> 注销</a></li>

      </ul>
      <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-bookmark"></span> Nighost</p>
          <p>舍身取义。—— Nighost</p>
        </div>
      </div>
    </div>
  </div>
  <!-- sidebar end -->
